﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000E5F RID: 3679
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueAreaInfo : IMessage<RogueAreaInfo>, IMessage, IEquatable<RogueAreaInfo>, IDeepCloneable<RogueAreaInfo>, IBufferMessage
	{
		// Token: 0x17002EC8 RID: 11976
		// (get) Token: 0x0600A543 RID: 42307 RVA: 0x001BD5F8 File Offset: 0x001BB7F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueAreaInfo> Parser
		{
			get
			{
				return RogueAreaInfo._parser;
			}
		}

		// Token: 0x17002EC9 RID: 11977
		// (get) Token: 0x0600A544 RID: 42308 RVA: 0x001BD5FF File Offset: 0x001BB7FF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueAreaInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002ECA RID: 11978
		// (get) Token: 0x0600A545 RID: 42309 RVA: 0x001BD611 File Offset: 0x001BB811
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueAreaInfo.Descriptor;
			}
		}

		// Token: 0x0600A546 RID: 42310 RVA: 0x001BD618 File Offset: 0x001BB818
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueAreaInfo()
		{
		}

		// Token: 0x0600A547 RID: 42311 RVA: 0x001BD62B File Offset: 0x001BB82B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueAreaInfo(RogueAreaInfo other) : this()
		{
			this.rogueAreaList_ = other.rogueAreaList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600A548 RID: 42312 RVA: 0x001BD655 File Offset: 0x001BB855
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueAreaInfo Clone()
		{
			return new RogueAreaInfo(this);
		}

		// Token: 0x17002ECB RID: 11979
		// (get) Token: 0x0600A549 RID: 42313 RVA: 0x001BD65D File Offset: 0x001BB85D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<RogueArea> RogueAreaList
		{
			get
			{
				return this.rogueAreaList_;
			}
		}

		// Token: 0x0600A54A RID: 42314 RVA: 0x001BD665 File Offset: 0x001BB865
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueAreaInfo);
		}

		// Token: 0x0600A54B RID: 42315 RVA: 0x001BD673 File Offset: 0x001BB873
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueAreaInfo other)
		{
			return other != null && (other == this || (this.rogueAreaList_.Equals(other.rogueAreaList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600A54C RID: 42316 RVA: 0x001BD6A8 File Offset: 0x001BB8A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.rogueAreaList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600A54D RID: 42317 RVA: 0x001BD6DC File Offset: 0x001BB8DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600A54E RID: 42318 RVA: 0x001BD6E4 File Offset: 0x001BB8E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600A54F RID: 42319 RVA: 0x001BD6ED File Offset: 0x001BB8ED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.rogueAreaList_.WriteTo(ref output, RogueAreaInfo._repeated_rogueAreaList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600A550 RID: 42320 RVA: 0x001BD714 File Offset: 0x001BB914
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.rogueAreaList_.CalculateSize(RogueAreaInfo._repeated_rogueAreaList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600A551 RID: 42321 RVA: 0x001BD74D File Offset: 0x001BB94D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueAreaInfo other)
		{
			if (other == null)
			{
				return;
			}
			this.rogueAreaList_.Add(other.rogueAreaList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600A552 RID: 42322 RVA: 0x001BD77B File Offset: 0x001BB97B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600A553 RID: 42323 RVA: 0x001BD784 File Offset: 0x001BB984
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 106U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.rogueAreaList_.AddEntriesFrom(ref input, RogueAreaInfo._repeated_rogueAreaList_codec);
				}
			}
		}

		// Token: 0x04004338 RID: 17208
		private static readonly MessageParser<RogueAreaInfo> _parser = new MessageParser<RogueAreaInfo>(() => new RogueAreaInfo());

		// Token: 0x04004339 RID: 17209
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400433A RID: 17210
		public const int RogueAreaListFieldNumber = 13;

		// Token: 0x0400433B RID: 17211
		private static readonly FieldCodec<RogueArea> _repeated_rogueAreaList_codec = FieldCodec.ForMessage<RogueArea>(106U, RogueArea.Parser);

		// Token: 0x0400433C RID: 17212
		private readonly RepeatedField<RogueArea> rogueAreaList_ = new RepeatedField<RogueArea>();
	}
}
